﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace TiendaMusicaWebV2.Models
{
    [Table("cart")]
    public class Cart
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        [Column("recordId")]
        public int RecordId { get; set; }
        [Column("cartId")]
        public string CartId { get; set; }
        [Column("albumId")]
        public int AlbumId { get; set; }
        public int Count { get; set; }
        public System.DateTime DateCreated { get; set; }

        public virtual Album Album { get; set; }
    }
}